@import "reset.css";
@import "../font/iconfont.css";
@import "../font_2/iconfont.css";
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
html,body{
    width: 7.5rem;
    margin: 0 auto;
}
body{
    background: #f2f2f2;
    position: relative;
}
/*顶部*/
#top1{
    width: 7.5rem;
    height: 2.6rem;
    background: linear-gradient(#ff6043,#ff8a7f);
    display: flex;
    color: #ffdfd8;
    padding: 0.5rem 0.12rem 0 0.3rem;
    box-sizing: border-box;
    box-shadow: 0rem 0.01rem 0.3rem #ff6043;
    position: relative;
    z-index: 1;
    &>span{
        font-size: 0.44rem;
    }
    h2{
        margin: 0 1.2rem 0 2.2rem;
        font-size: 0.32rem;
    }
    p{
        display: flex;
        width: 1.76rem;
        height: 0.62rem;
        border: 1px solid #ff8a6f;
        border-radius: 0.3rem;
        margin-right: 0.11rem;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.25rem;
        box-sizing: border-box;
        position: relative;
        span{
            width: 1px;
            height: 0.38rem;
            background: #ff896e;
            position: absolute;
            top: 0.1rem;
            left: 0.88rem;
        }
    }
}

/*地址信息*/
#address_box{
    width: 7.1rem;
    height: 2.08rem;
    background: #fff;
    position: absolute;
    top: 1.35rem;
    left: 0.2rem;
    z-index: 2;
    border-radius: 0.1rem;
    padding: 0.3rem 0.56rem 0 0.4rem;
    box-sizing: border-box;
    & p:nth-child(1){
        font-size: 0.36rem;
        color: #363636;
        font-weight: bold;
        margin-bottom: 0.2rem;
    }
    & p:nth-child(2){
        font-size: 0.26rem;
        color: #666666;
        line-height: 0.4rem;
    }
}

/*品牌精选*/
#brand_choice{
    width: 7.5rem;
    height: 8.4rem;
    background: #fff;
    margin-top: 1.1rem;
    padding-left: 0.2rem;
    box-sizing: border-box;
    /*精选头部*/
    .jingxuan{
        width: 7.5rem;
        height: 0.72rem;
        background: #ffffff;
        padding-top: 0.1rem;
        margin-bottom: 0.3rem;
        margin-left: -0.2rem;
        padding-left: 0.2rem;
        box-sizing: border-box;
        img{
            float: left;
            transform: scale(0.55);
            margin-top: 0.05rem;
            margin-right: 0.1rem;
            margin-left: -0.1rem;
        }
        h2{
            float: left;
            height: 0.72rem;
            line-height: 0.72rem;
            font-size: 0.3rem;
            color: #3b3b3b;
            font-weight: bold;
            margin-right: 3.5rem;
        }

        p{
            float: left;
            height: 0.72rem;
            line-height: 0.72rem;
            box-sizing: border-box;
            span{
                font-size: 0.22rem;
                color: #3d3d3d;
            }
            i{
                border-right: 2px solid #bdbdbd;
                margin: 0 0.2rem;
            }
            a{
                font-size: 0.22rem;
                color: #ff6a64;
                margin-right: 0.21rem;
            }
        }
    }
    /*精选商品*/
    ul{
        width: 7.5rem;
        box-sizing: border-box;
        float: left;
        
        img{
            width: 2.16rem;
            float: left;
            margin: 0 0.3rem 0.4rem 0;
        }
        .p1{
            font-size: 0.3rem;
            color: #363636;
            width: 7.3rem;
        }
        .p2{
            float: left;
            font-size: 0.4rem;
            color: #ff6043;
            font-weight: bold;
            margin-right: 3.5rem;
            margin-top: 0.25rem;
            margin-bottom: 0.15rem;
            i{
                font-size: 0.16rem;
                
                
            }
        }
        .p3{
            float: right;
            margin-right: 0.4rem;
            font-size: 0.22rem;
            color: #363636;
            span{
                display: inline-block;
                transform: scale(0.7);
            }
        }
        .p4{
            float: left;
            width: 1.6rem;
            height: 0.38rem;
            line-height: 0.38rem;
            background: #ff8066;
            margin-right: 0.1rem;
            text-align: center;
            color: #fff;
        }
        .p5{
            float: left;
            width: 0.62rem;
            height: 0.38rem;
            line-height: 0.38rem;
            background: #ff8066;
            text-align: center;
            color: #fff;
        }
    }
    /*精选底部*/
    .jingxuan_bottom{
        font-size: 0.24rem;
        color: #363636;
        font-weight: bold;
        margin-bottom: 0.4rem;
        span,p,i{
            float: right;
            margin-right: 0.2rem;
        }
        span{
            font-size: 0.18rem;
            em{
                display: inline-block;
                transform: scale(0.9);
            }
        }
        i{
            font-size: 0.22rem;
            color: #666666;
        }
    }
}

/*商品金额*/
#goods_price{
    width: 7.5rem;
    height: 2.1rem;
    background: #fff;
    font-size: 0.24rem;
    color: #363636;
    font-weight: bold;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
    padding: 0.3rem 0.2rem 0 0.2rem;
    box-sizing: border-box;
    p{
        margin-bottom: 0.3rem;
        i,span{
            float: right;
        }
        i{
            font-size: 0.18rem;
            color: #666666;
        }
        span{
            font-size: 0.18rem;
            color: #ff6043;
        }
    }
}

#confirm_order{
    width: 7.5rem;
    height: 1rem;
    background: #fff;
    border-top: 1px solid #cccccc;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    & p:nth-child(1){
        float: left;
        display: flex;
        flex-direction: column;
        margin: 0.12rem 0.36rem 0 0.22rem;
        span{
            font-size: 0.32rem;
            color: #363636;
            font-weight: bold
        }
        em{
            color: #a3a3a3;
            margin-top: 0.02rem;
        }
    }
    & p:nth-child(2){
        float: left;
        display: flex;
        flex-direction: column;
        margin: 0.1rem 0.36rem 0 0;
        span{
            font-size: 0.36rem;
            color: #ff6043;
            font-weight: bold
        }
        em{
            color: #a3a3a3;
            margin-top: 0.02rem;
        }
    }
    & p:nth-child(3){
        width: 2.2rem;
        height: 1rem;
        line-height: 1rem;
        background: #ff6043;
        float: right;
        text-align: center;
        font-size: 0.3rem;
        color: #fff;
        font-weight: bold;
    }
}

